<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base target="mainFrame" />
<title></title>
<link href="_{$adminbase}styles/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
body {
	margin: 0;
}
.links {
	padding-left: 29px;
	background: #FFF;
	color: #CC0000;
}
.links a:link, .links a:visited {
	color: #000;
	text-decoration: underline;
}
.links a:hover, .links a:active {
	color: #000;
	text-decoration: underline;
}
.links a.c_red:link, .links a.c_red:visited {
	color: #C00;
	text-decoration: underline;
}
#menus .items {
	margin: 0;
	padding: 5px 0 5px 16px;
	border: none;
	list-style: inside disc;
	line-height: 18px;
	color: #CCCCCC;
}
#menus .items a:link, #menus .items a:visited {
	color: #666;
	text-decoration: none;
}
#menus .items a:hover, #menus .items a:active {
	color: #C00;
	text-decoration: underline;
}
#menus {
	width: 150px;
	margin: 15px auto;
}
#menus .menus_tl {
	width: 100%;
	height: 16px;
	background: #FFF url(templates/admin/images/corner_tl.png) no-repeat left top;
	position: relative;
}
#menus .menus_tl .r {
	width: 100%;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	background: url(templates/admin/images/corner_tr.png) no-repeat right top;
}
#menus .menus_bl {
	width: 100%;
	height: 16px;
	background: #FFF url(templates/admin/images/corner_bl.png) no-repeat left bottom;
	position: relative;
}
#menus .menus_bl .r {
	width: 100%;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	background: url(templates/admin/images/corner_br.png) no-repeat right bottom;
}
#menus .menus_d {
	background: #FFF;
}
#menus .menus_d a.h {
	display: block;
	width: 120px;
	padding-left: 30px;
	padding-top: 2px;
	font-weight: normal;
	background: #E8F0F2 url(templates/admin/images/buttons.gif) no-repeat 9px -182px;
	height: 22px;
	line-height: 24px;
	color: #34627C;
	text-decoration: none;
	margin-top: 1px;
}
#menus .menus_d a.h2 {
	display: block;
	width: 120px;
	padding-left: 30px;
	padding-top: 2px;
	font-weight: normal;
	background: #E8F0F2 url(templates/admin/images/buttons.gif) no-repeat 9px -156px;
	height: 22px;
	line-height: 24px;
	color: #34627C;
	text-decoration: none;
	margin-top: 1px;
}
/*]]>*/
.STYLE1 {
	color: #666666
}
</style>
<script type="text/javascript" src="_{$adminbase}scripts/prototype.js"></script>
<script type="text/javascript">
//<![CDATA[
function $op(o, j) {
	var ols = $('menus_childs').getElementsByTagName('OL');
	var as = document.getElementsByClassName('h');
	for (var i = 0;i < as.length;i++)
	{
		as[i].className = 'h2';
	}
	for (var i = 0;i < ols.length;i++)
	{
		if(i==j){
		}else{
		    if (ols[i].style.display == 'block') {
        		ols[i].style.display = 'none';
        		o.className = 'h';
        	}
		}
  }
    if (ols[j].style.display == 'none') {
		ols[j].style.display = 'block';
		o.className = 'h';
	} else {
		ols[j].style.display = 'none';
		o.className = 'h2';
	}
}

function initial()
{
	var ols = $('menus_childs').getElementsByTagName('OL');
	for (var i = 0;i < ols.length;i++)
	{
		ols[i].style.display = 'none';
	}
}//]]>
</script>
</head>
<body onload="javascript:initial();">
<div id="menus">
  <div class="menus_tl">
    <div class="r"></div>
  </div>
  <div class="links">控制面板</div>
  <div class="line_1" style="background-color: #FFF;"></div>
  <div id="menus_childs" class="menus_d"> <a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this, 0)">网站设置</a>
    <ol class="items">
      <li><a href="admin.php?action=system">系统配置</a></li>
      <!--<li><a href="admin.php?action=setting">常规设置</a></li>-->
	 <li><a href="admin.php?action=district-list">区域列表</a></li>
    </ol>
	<a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this, 1)">News管理</a>
    <ol class="items">
      <li><a href="admin.php?action=news-add">添加News</a></li>
      <li><a href="admin.php?action=news-list">News编辑</a></li>
    </ol>
    <a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this, 2)">Guide管理</a>
    <ol class="items">
      <li><a href="admin.php?action=guide-add">添加Guide</a></li>
      <li><a href="admin.php?action=guide-list">Guide编辑</a></li>
    </ol>
    <a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this, 3)">Tour管理</a>
    <ol class="items">
      <li><a href="admin.php?action=tour-add">添加Tour</a></li>
      <li><a href="admin.php?action=tour-list">Tour编辑</a></li>
	  <li><a href="admin.php?action=reviews-list">反馈编辑</a></li>
    </ol>
	<a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this, 4)">Cruise管理</a>
    <ol class="items">
      <li><a href="admin.php?action=flight-add">添加游轮</a></li>
      <li><a href="admin.php?action=flight-list">游轮编辑</a></li>
      <li><a href="admin.php?action=photo-list">图片库</a></li>
	  <li><a href="admin.php?action=cruise-route-add">添加路线</a></li>
	  <li><a href="admin.php?action=cruise-add">添加航班</a></li>
	  <li><a href="admin.php?action=cruise-list">航班编辑</a></li>
	  <li><a href="admin.php?action=comments-list">游轮评论</a></li>
    </ol>
    <a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this,5)">订单管理</a>
    <ol class="items">
      <li class="STYLE1"><a href="admin.php?action=order-tour-list">查看Tour订单</a></li>
      <li class="STYLE1"><a href="admin.php?action=order-cruise-list">查看Cruise订单</a></li>
    </ol>
    <a href="javascript:void(0);" class="h" onfocus="this.blur()" onclick="$op(this,6)">后台操作员</a>
    <ol class="items">
      <li><a href="admin.php?action=admin-list">操作员列表</a></li>
      <li><a href="admin.php?action=admin-add">添加操作人</a></li>
    </ol>
  </div>
  <div class="menus_bl">
    <div class="r"></div>
  </div>
</div>
</body>
</html>
